package com.taxshare.manager.view.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName: LoginReqVO
 * @Description:
 * @author: luozhongyi
 * @date: 2021/1/14 11:30
 */
@Data
@ApiModel(value = "login", description = "登陆信息")
public class LoginReqVO {

    /**
     * 登陆信息:手机号/邮箱/用户名称
     */
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "登陆信息:手机号/邮箱/用户名称", required = true)
    private String userMsg;

    /**
     * 用户密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "用户密码", required = true)
    private String userPwd;

}
